package com.easylinkin.linkappapi.personality.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.personality.entity.Personality;

import java.util.List;

/**
 * <p>
 * 应用管理表 服务类
 * </p>
 *
 * @author XuGuoQing
 * @since 2020-05-19
 */
public interface PersonalityService extends IService<Personality> {

    boolean addPersonality(Personality personality,String tenantId);

    boolean deletePersonality(List<String> personalityList);

    boolean updatePersonality(Personality personality);

    IPage<Personality> getPage(IPage page, Personality personality);

    Personality getPersonalIfoByDomain(String domain);

    List<Personality> getList();
    
    Personality getPersonalityByTenant(String tenantId);


}
